<template>
  <div>
    导航栏 - <button @click="handleChange">折叠</button>
  </div>
</template>
<script>
export default {
  setup (props, { emit }) {
    const handleChange = () => {
      emit('myclick')
    }
    return {
      handleChange
    }
  }
}
</script>
